package org.shiwen.week5.answer;

public class Q2p {
    public static void main(String[] args) {
        for (int i = 0; i < 1000; i++) {
            if(IsPrime.isPrime(i)){
                System.out.print(i+" ");
            }
        }
    }
}
